package com.Lambda;

public class TestLambda {
    public static void main(String[] args) {
        Thread thread = new Thread(new MyRunnable());
        thread.start();
        thread.stop();
    }
}
class MyRunnable implements Runnable{
    @Override
    public void run() {
        System.out.println("Hello");
    }
}